<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <base href="<%=basePath%>">

    <title>显示待审核文件</title>
    <link type="text/css" href="css/base.css" rel="stylesheet"/>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="../js/menu.js"></script>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <%--<meta http-equiv="refresh" content="1">--%>
    <!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->
    <style type="text/css">


    </style>
</head>

<body>
<%@ include file="/page/share/menu.jsp" %>

<div id="content">
    <h2>待审核文件</h2>
    <hr>
    <form action="FileDownload!showOne.action" method="post">
        <table style="margin:10px 25px;">
            <tr style="background: #cccccc;">
                <td style="width: 300px;height: 30px;text-align: center;color: #545454;">文件名</td>
                <td style="width: 200px;height: 30px;text-align: center;color: #545454;">上传时间</td>
                <td style="width: 200px;height: 30px;text-align: center;color: #545454;">上传者</td>
                <td style="width: 200px;height: 30px;text-align: center;color: #545454;">类型</td>
            </tr>
            <s:iterator value="resources" var="r">
                <tr style="border: 1px #757575 solid">
                    <td style="width: 300px;height: 35px;text-align: center;padding: 5px 0px;">
                        <a href="Upload!showOne.action?resourceId=${r.resourceId}">${r.fileName} </a>
                    </td>
                    <td style="width: 200px;height: 35px;text-align: center;padding: 5px 0px;">${r.uploadTime}</td>
                    <td style="width: 200px;height: 35px;text-align: center;padding: 5px 0px;">${r.uploader}</td>
                    <td style="width: 200px;height: 35px;text-align: center;padding: 5px 0px;">${r.resourceCategory.name}</td>
                </tr>
            </s:iterator>
        </table>
    </form>
</div>


<div id="footer">
    <p style="text-align: center;color: #757575;padding: 20px 0px 0px 0px; font:12px;">Copyright © 2010-2013 蓝天白云团队
        版权所有</p>
</div>
</body>
</html>
